package com.example.klaraservice.service.impl;

import com.example.klaraservice.dao.CategoryMapper;
import com.example.klaraservice.pojo.Category;
import com.example.klaraservice.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : Glacialerisa
 * @date : 2023/6/5 14:25
 * @desc :
 */
@Service
public class CategoryServiceImpl implements CategoryService {
    @Autowired
    private CategoryMapper categoryMapper;
    @Override
    public List<Category> selectAllCategory() {
        return categoryMapper.selectAllCategory();
    }
}
